﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using VK.Comm.Xml;

namespace VK.Comm.Mail
{
    public class MailServerEntity
    {
        public string MailServerEmail
        {
            set { ConfigManage.SetAppSettings("MailServerEmail", value); }
            get { return ConfigurationManager.AppSettings["MailServerEmail"]; }
        }

        public string MailServerName
        {
            set { ConfigManage.SetAppSettings("MailServerName", value); }
            get { return ConfigurationManager.AppSettings["MailServerName"]; }
        }

        public string MailServerPass
        {
            set { ConfigManage.SetAppSettings("MailServerPass", value); }
            get { return ConfigurationManager.AppSettings["MailServerPass"]; }
        }

        public string MailServerSmtp
        {
            set { ConfigManage.SetAppSettings("MailServerSmtp", value); }
            get { return ConfigurationManager.AppSettings["MailServerSmtp"]; }
        }
    }
}
